<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="sj" uri="/struts-jquery-tags" %>
<%@taglib prefix="sjg" uri="/struts-jquery-grid-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>:: SISTEMA VETERINARIA DAWI 2014 ::</title>

<style type="text/css">

.info2, .exito, .alerta, .error {
       font-family:Arial, Helvetica, sans-serif; 
       font-size:13px;
       border: 1px solid;
       margin: 10px 0px;
       padding:15px 10px 15px 50px;
       background-repeat: no-repeat;
       background-position: 10px center;
       position:absolute;
       z-index: 100;
       width: 100%;
}
.info2 {
       color: #00529B;
       background-color: #BDE5F8;
       background-image: url('../iconos/info.png');
}
.exito {
       color: #4F8A10;
       background-color: #DFF2BF;
       background-image:url('../iconos/exito.png');
}
.alerta {
       color: #9F6000;
       background-color: #FEEFB3;
       background-image: url('../iconos/alerta.png');
}
.error {
       color: #D8000C;
       background-color: #FFBABA;
       background-image: url('../iconos/error.png');
}
</style>

<script type="text/javascript" src="../js/jquery-1.2.6.js"></script>
<script type="text/javascript">
$(document).ready(function(){
    setTimeout(function(){ $(".info2").fadeOut(800).fadeIn(800).fadeOut(500).fadeIn(500).fadeOut(300);}, 3000); 
});
$(document).ready(function(){
    setTimeout(function(){ $(".exito").fadeOut(800).fadeIn(800).fadeOut(500).fadeIn(500).fadeOut(300);}, 3000); 
});
$(document).ready(function(){
    setTimeout(function(){ $(".alerta").fadeOut(800).fadeIn(800).fadeOut(500).fadeIn(500).fadeOut(300);}, 3000); 
});
$(document).ready(function(){
    setTimeout(function(){ $(".error").fadeOut(800).fadeIn(800).fadeOut(500).fadeIn(500).fadeOut(300);}, 3000); 
});
</script>
</head>

<body>
      <s:actionerror  cssClass="error" />
      <s:actionmessage cssClass="exito"/>
      <s:fielderror cssClass="info2" fieldName="a" />
      
<table style="height:100%">
		<tr>
			<td colspan="2" valign="top" id="cabecera" >
			  <jsp:include page="cabecera.jsp" />
			</td>
		</tr>
		<tr>
			<td valign="top" colspan="1" id="barra" >
			  <t:insertAttribute name="menu" />		
			</td>
			<td valign="top" colspan="1" style="width: 100% !important;">
			<t:insertAttribute name="cuerpo" />			
			</td>
		
		<tr>
		<tr>
		<td colspan="2"  valign="top" style="position: float; bottom: 0px; width: 100%;text-align: center;background-color: #366;color: #fff;height: 3em;">
		<jsp:include page="pie.jsp" />
		</td>
		</tr>
</table>

</body>
</html>